MutableVec2
Properties
Functions
Calculate the angle between this vector and another vector.
Calculates the scale factor to project this vector onto another vector.
Returns the number of dimensions of the spatial object.
Compute the distance to another point.
Calculate the dot product of this vector with another vector.
Tests if two vectors are approximately equal.
Returns true if any value in the spatial is infinite.
Performs linear interpolation between this vector and another vector.
Subtracts another vector from this vector.
Normalizes the vector.
Adds another vector to this vector.
Calculate the projection of this vector onto another vector.
Calculates the rejection of this vector from another vector.
Computes the signed area of the parallelogram formed by this vector and another vector.
Scale this vector by a scalar value.
Creates a mutable copy of this vector.
Negates the vector, flipping its direction.
Creates a vector with the specified components.
Get Zero vector.